package com.gw.booking.entity;

import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "merchant")
public class Merchant {
    private int id;
    private Integer merchantTypeId;
    private String shopName;
    private String address;
    private Double longitude;
    private Double latitude;
    private String phone;
    private String openDailyC;
    private String openDailyJ;
    private String shopkeeper;
    private String mobile;
    private String openId;
    private String manager;
    private String shopImg1;
    private String shopImg2;
    private String shopImg3;
    private Date createdAt;
    private Date updatedAt;
    private Date operatedBegin1;
    private Date operatedEnd1;
    private Date operatedBegin2;
    private Date operatedEnd2;
    private Date operatedBegin3;
    private Date operatedEnd3;
    private String wechat;
    private String content;
    private String headImgUrl;
    private String qrBindImgUrl;
    private String qrDetailImgUrl;
    private Integer cityId;
    private Integer state;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Basic
    @Column(name = "merchant_type_id")
    public Integer getMerchantTypeId() {
        return merchantTypeId;
    }

    public void setMerchantTypeId(Integer merchantTypeId) {
        this.merchantTypeId = merchantTypeId;
    }

    @Basic
    @Column(name = "shop_name")
    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    @Basic
    @Column(name = "address")
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Basic
    @Column(name = "longitude")
    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    @Basic
    @Column(name = "latitude")
    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    @Basic
    @Column(name = "phone")
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Basic
    @Column(name = "open_daily_c")
    public String getOpenDailyC() {
        return openDailyC;
    }

    public void setOpenDailyC(String openDailyC) {
        this.openDailyC = openDailyC;
    }

    @Basic
    @Column(name = "open_daily_j")
    public String getOpenDailyJ() {
        return openDailyJ;
    }

    public void setOpenDailyJ(String openDailyJ) {
        this.openDailyJ = openDailyJ;
    }

    @Basic
    @Column(name = "shopkeeper")
    public String getShopkeeper() {
        return shopkeeper;
    }

    public void setShopkeeper(String shopkeeper) {
        this.shopkeeper = shopkeeper;
    }

    @Basic
    @Column(name = "mobile")
    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    @Basic
    @Column(name = "open_id")
    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    @Basic
    @Column(name = "manager")
    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    @Basic
    @Column(name = "shop_img1")
    public String getShopImg1() {
        return shopImg1;
    }

    public void setShopImg1(String shopImg1) {
        this.shopImg1 = shopImg1;
    }

    @Basic
    @Column(name = "shop_img2")
    public String getShopImg2() {
        return shopImg2;
    }

    public void setShopImg2(String shopImg2) {
        this.shopImg2 = shopImg2;
    }

    @Basic
    @Column(name = "shop_img3")
    public String getShopImg3() {
        return shopImg3;
    }

    public void setShopImg3(String shopImg3) {
        this.shopImg3 = shopImg3;
    }

    @Basic
    @Column(name = "created_at")
    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    @Basic
    @Column(name = "updated_at")
    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    @Basic
    @Column(name = "operated_begin1")
    public Date getOperatedBegin1() {
        return operatedBegin1;
    }

    public void setOperatedBegin1(Date operatedBegin1) {
        this.operatedBegin1 = operatedBegin1;
    }

    @Basic
    @Column(name = "operated_end1")
    public Date getOperatedEnd1() {
        return operatedEnd1;
    }

    public void setOperatedEnd1(Date operatedEnd1) {
        this.operatedEnd1 = operatedEnd1;
    }

    @Basic
    @Column(name = "operated_begin2")
    public Date getOperatedBegin2() {
        return operatedBegin2;
    }

    public void setOperatedBegin2(Date operatedBegin2) {
        this.operatedBegin2 = operatedBegin2;
    }

    @Basic
    @Column(name = "operated_end2")
    public Date getOperatedEnd2() {
        return operatedEnd2;
    }

    public void setOperatedEnd2(Date operatedEnd2) {
        this.operatedEnd2 = operatedEnd2;
    }

    @Basic
    @Column(name = "operated_begin3")
    public Date getOperatedBegin3() {
        return operatedBegin3;
    }

    public void setOperatedBegin3(Date operatedBegin3) {
        this.operatedBegin3 = operatedBegin3;
    }

    @Basic
    @Column(name = "operated_end3")
    public Date getOperatedEnd3() {
        return operatedEnd3;
    }

    public void setOperatedEnd3(Date operatedEnd3) {
        this.operatedEnd3 = operatedEnd3;
    }

    @Basic
    @Column(name = "wechat")
    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    @Basic
    @Column(name = "content")
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Basic
    @Column(name = "head_img_url")
    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
    }

    @Basic
    @Column(name = "qr_bind_img_url")
    public String getQrBindImgUrl() {
        return qrBindImgUrl;
    }

    public void setQrBindImgUrl(String qrBindImgUrl) {
        this.qrBindImgUrl = qrBindImgUrl;
    }

    @Basic
    @Column(name = "qr_detail_img_url")
    public String getQrDetailImgUrl() {
        return qrDetailImgUrl;
    }

    public void setQrDetailImgUrl(String qrDetailImgUrl) {
        this.qrDetailImgUrl = qrDetailImgUrl;
    }

    @Basic
    @Column(name = "city_id")
    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    @Basic
    @Column(name = "state")
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
